﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HMS.Master" AutoEventWireup="true" CodeBehind="StaffDelete.aspx.cs" Inherits="ReservationModule.StaffDelete" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    
           <br />
    <h2>delete</h2>
                 <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>

     <table class="auto-style2">
         <tr>
             <td class="auto-style4" colspan="4"><h3>-Search by Staff NRIC-</h3></td>
         </tr>
         <tr>
             <td class="auto-style4">Search Staff (NRIC):</td>
             <td class="auto-style6">
                 <asp:TextBox ID="tbxNRIC" runat="server"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxNRIC" ErrorMessage="RequiredFieldValidator" ForeColor="Red" ValidationGroup="go2">Please enter Staff NRIC</asp:RequiredFieldValidator>
             </td>
             <td class="auto-style5">&nbsp;</td>
             <td class="auto-style5">&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style4">&nbsp;</td>
             <td class="auto-style6">
                 <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Search" ValidationGroup="go2" />
             </td>
             <td class="auto-style5">&nbsp;</td>
             <td class="auto-style5">&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style4" colspan="4">
                 <h3>&nbsp;</h3>
                 <h3>-Staff particulars-<br />
                 </h3>
             </td>
         </tr>
         <tr>
             <td class="auto-style4">StaffNRIC:<br />
                 <br />
             </td>
             <td class="auto-style6">
                 <asp:TextBox ID="tbxStaffNRIC" runat="server" ReadOnly="True"></asp:TextBox>
                 <br />
                 <br />
             </td>
             <td class="auto-style5"></td>
             <td class="auto-style5"></td>
         </tr>
         <tr>
             <td class="auto-style7">StaffName:<br />
                 <br />
             </td>
             <td class="auto-style8">
                 <asp:TextBox ID="tbxStaffName" runat="server" ReadOnly="True"></asp:TextBox>
                 <br />
                 <br />
             </td>
             <td class="auto-style8">&nbsp;</td>
             <td class="auto-style8"></td>
         </tr>
         <tr>
             <td class="auto-style3">StaffType:<br />
                 <br />
             </td>
             <td>
                 <asp:DropDownList ID="DDLStaffType" runat="server" Enabled="False">
                     <asp:ListItem>Receptionist</asp:ListItem>
                     <asp:ListItem>Managers</asp:ListItem>
                     <asp:ListItem>Administrators</asp:ListItem>
                 </asp:DropDownList>
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">DateOfBirth:<br />
                 <br />
             </td>
             <td>
                 <asp:TextBox ID="tbxDOB" runat="server" AutoPostBack="True" DateFormat="MM/dd/yyyy" Width="200px" ReadOnly="True"></asp:TextBox>
                                                    
                                                    <ajaxToolkit:CalendarExtender ID="tbxDOB_CalendarExtender2" runat="server" Enabled="True" TargetControlID="tbxDOB" Format="dddd, MMMM dd, yyyy">
                                                    </ajaxToolkit:CalendarExtender>
                                                    
                                                    &nbsp;<ajaxToolkit:CalendarExtender ID="tbxDOB_CalendarExtender" runat="server" Enabled="True" TargetControlID="tbxDOB" Format="dddd, MMMM dd, yyyy" PopupButtonID="btnCheckindateImage2">
                                                    </ajaxToolkit:CalendarExtender>
                                                    <asp:ImageButton ID="btnCheckindateImage2" runat="server" ImageUrl="~/Images/Calendar.png" />
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">Nationality:<br />
                 <br />
             </td>
             <td>
                 <asp:TextBox ID="tbxNationality" runat="server" ReadOnly="True"></asp:TextBox>
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">ContactNumber:<br />
                 <br />
             </td>
             <td>
                 <asp:TextBox ID="tbxContactNumber" runat="server" ReadOnly="True"></asp:TextBox>
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">BankAccountNumber:<br />
                 <br />
             </td>
             <td>
                 <asp:TextBox ID="tbxBankNo" runat="server" ReadOnly="True"></asp:TextBox>
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">DutyType:<br />
                 <br />
             </td>
             <td>
                 <asp:DropDownList ID="DDLDutyType" runat="server" Enabled="False">
                     <asp:ListItem>General Maintenance</asp:ListItem>
                     <asp:ListItem>Room Maintenance</asp:ListItem>
                     <asp:ListItem>Estate Maintenance</asp:ListItem>
                     <asp:ListItem>Security</asp:ListItem>
                 </asp:DropDownList>
                 <br />
                 <br />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style3">&nbsp;</td>
             <td>
                 <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="Delete" ValidationGroup="go1" />
                 <ajaxToolkit:ConfirmButtonExtender ID="btnDelete_ConfirmButtonExtender" runat="server" ConfirmText="Are you sure?" Enabled="True" TargetControlID="btnDelete">
                 </ajaxToolkit:ConfirmButtonExtender>
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Back" />
             </td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
     </table>
   
</asp:Content>
